package com.shopoo.dto.clientobject;

import java.time.LocalDateTime;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * (OauthUser)实体类
 *
 * @author makejava
 * @since 2021-05-14 17:14:04
 */
@Data
public class UserCO {

    @Schema(title = "用户主键")
    private String userId;

    @Schema(title = "用户名")
    private String username;

    @Schema(title = "用户密码")
    private String password;

    @Schema(title = "昵称")
    private String nickname;

    @Schema(title = "电话号码")
    private String phone;

    @Schema(title = "状态")
    private Short status;

    @Schema(title = "性别 0-女 1-男")
    private Short sex;

    @Schema(title = "创建时间")
    private LocalDateTime createTime;

    @Schema(title = "用户角色列表")
    private List<RoleCO> roles;
}
